package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 最爱喝兽奶
 * @create 2022/8/10
 **/
@ApiModel("考试实体类")
@Data
@TableName(value = "T_EXAM")
public class Exam implements Serializable {

    /**
     * id
     */
    @TableId
    private String id;

    /**
     * 考试的标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 课程id
     */
    @TableField(value = "course_id")
    private String courseId;

    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 发布人
     */
    @TableField(value = "publisher")
    private String publisher;

    /**
     * 考试的图标
     */
    @TableField(value = "exam_image")
    private String examImage;

    /**
     * 总分
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 单选题数量
     */
    @TableField(value = "single_num")
    private Integer singleNum;

    /**
     * 单选题分值
     */
    @TableField(value = "single_score")
    private Integer singleScore;

    /**
     * 多选题数量
     */
    @TableField(value = "multiply_num")
    private Integer multiplyNum;

    /**
     * 多选题分值
     */
    @TableField(value = "multiply_score")
    private Integer multiplyScore;

    /**
     * 判断题数量
     */
    @TableField(value = "judge_num")
    private Integer judgeNum;

    /**
     * 判断题分值
     */
    @TableField(value = "judge_score")
    private Integer judgeScore;

    /**
     * 填空题数量
     */
    @TableField(value = "fill_num")
    private Integer fillNum;

    /**
     * 填空题分值
     */
    @TableField(value = "fill_score")
    private Integer fillScore;

    /**
     * 主观题数量
     */
    @TableField(value = "subjective_num")
    private Integer subjectiveNum;

    /**
     * 主观题分值
     */
    @TableField(value = "subjective_score")
    private Integer subjectiveScore;

}
